capitolism does tend to yield positive results in science and engineering that benefit everyone. All you youngsters today seem to take your fancy "indoor plumbing", "refridgeration", and "electrical light sources" for granted
That is just ridiculous.
Scientific method and education yield scientific advancements, capitalism doesn't.
Now plumbing and running water has been around for centuries and predates modern ideas of science and capitalism. But its invention and use typically occurs as part of a CIVIC improvement rather than a private enterprise. You just can't as an individual have running water in your house if society doesn't bring it to your front door first, and that is a somewhat socialist enterprise.
Similarly with electricity. Private electricity networks and provision just plain do not work, just look at the situaion in the US or UK, or anywhere that has privatised utilities. Public owned socialist utilities are really the only sensible means of achieving that sort of service and so reliably permitting the "advancements" you inexplicably lay at the feet of capitalism.
And lets remember the other important part of the process. Invention and discovery. Which relies on a number of elements. Like public education (not very capitalist). And is exceedingly limited in beneficial impact by capitalism (drug companies preventing the creation of cheap drugs for poor people and countries).
Technological advancement of society is neither unique to capitalism nor even a particularly direct product of it. If anything capitalism works AGAINST it.